B.3 Dynamic Hashing Figure 6: Rejection Method B.1 Rejection Method

ثبت نشده
چکیده

Any single hash function chosen can encounter some bad worst-case inputs that cause linear-time rather than constant-time performance. The remedy devised by Carter and Wegman 2] is to choose a hash function randomly from a good collection H of hash functions and get constant expected performance independent of any particular input sequence. We say that H is c-universal if for every pair of inputs x 6 = y in f1; 2; : : :; n ? 1g the total number of h 2 H such that h(x) = h(y) is no more than c jHj=m; that is, only a fraction of c=m of the hash functions in H cause a collision on any pair of inputs. Proposition 3 Let H be a c-universal class of hash functions, the expected cost of an insert, delete, or access operation is O(1 + cc), where is the load factor of the table. We can use the c-universal class of hash functions H = fh a;b j h a;b (x) = ((ax + b) mod n) mod m; a; b 2 f0; : : :; n ? 1gg ; where (dn=me=(n=m)) 2 = O(1). When the number of elements changes dynamically, the table may have to be expanded or contracted from time to time, but the cost of the rebuilding can be amortized so that the operations still run in amortized constant expected time. More complicated techniques for implementing the table lookup method in constant expected time are dynamic perfect hashing and its variants 4, 5, 6]. Corollary 1 The expected number of iterations in algorithm bucket rejection is 2. A comprehensive treatment of table doubling can be found in 3]. Suppose we want to implement a dynamic table that supports insertion and deletion. In order to use the power of the random-access model, the table is implemented as an array. The size of the table cannot be determined in advance, so dynamic allocation and deallocation of the array is necessary. A trivial algorithm allocates an (n + 1)-element array when an element is inserted into an n-element array, but this causes worst-case update cost proportional to the size of the array. Since the number of elements in the table is not necessarily the same as the size of the table, let us use to denote the load factor of the table, or its fraction of occupancy. Initially, the table T has size zero. …

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

MRI of acute rejection of transplanted pancreatic islets

D. Jirak, J. Kríž, E. Honsová, Z. Berková, V. Herynek, P. Girman, F. Saudek, M. Hájek MR unit, Radiology Department, Institute for Clinical and Experimental Medicine, Prague, Czech Republic, Center for Cell Therapy and Tissue Repair, 2nd Medical Faculty, Charles University, Prague, Czech Republic, Pancreatic Islet Laboratory, Institute for Clinical and Experimental Medicine, Prague, Czech Repub...

متن کامل

On the Classification of Resolvable 2-(12, 6, 5c) Designs

In this paper we describe a backtrack search over parallel classes with a partial isomorph rejection to classify resolvable 2-(12, 6, 5c) designs. We use the intersection pattern between the parallel classes and the fact that any resolvable 2-(12, 6, 5c) design is also a resolvable 3-(12, 6, 2c) design to effectively guide the search. The method was able to enumerate all nonsimple resolutions a...

متن کامل

Assessment of Ki67 in Breast Cancer: A Comparison Between the Eye-10 Method, Stepwise Counting Strategy, and International System of Ki67 Evaluation

Background & Objective: Ki-67 evaluation is an essential tool to define luminal A and B breast cancers, which is not yet systematized. The International Ki67 in Breast Cancer Working Group suggests the counting of 500 or 1000 cancer cells, which is a time-consuming process. Therefore, novel methods, such as the Eye-10 method and stepwise counting strategy, are proposed to facil...

متن کامل

Writer Verification by Using an Arbitrary Part of Feature Sequence Extracted from On-Line Handwritten Character/Figure Patterns Hiroshi Kameya A DISSERTATION SUBMITTED IN PARTIAL FULFILLMENT OF THE REQUIREMENTS FOR THE DEGREE OF DOCTOR OF PHIROSOPHY IN COMPUTERSCIENCE AND ENGINEERING

Writer Verification by Using an Arbitrary Part of Feature Sequence Extracted from On-Line Handwritten Character/Figure Patterns Hiroshi Kameya Chair of Supervisory Committee: Professor Ryuichi Oka Graduate Department of Information Systems By introducing the continuous dynamic programming (CDP) algorithm developed by Oka (1998), I have developed a new segmentation-free, text-independent biometr...

متن کامل

Nanofiltration Rejection of Pesticides Used in the Mekong Delta Area

The pollution of surface water by recently used pesticides in Mekong Delta, a main drinking water source, is increasing both on the concentration residues and the polluted area [1,2]. Nanofiltration (NF) is arising as the most appropriate method for removal of pesticides with not only a good efficiency but also low energy consumption in comparison with other pressure-driven membrane processes [...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1993